﻿using System.ComponentModel;

namespace ML.Entity
{
    /// <summary>
    /// 启用禁用枚举
    /// </summary>
    public enum DisableStatus
    {
        /// <summary>
        /// 禁用
        /// </summary>
        [Description("禁用")]
        disable_true = 1,

        /// <summary>
        /// 未禁用
        /// </summary>
        [Description("未禁用")]
        disable_false = 0
    }

    /// <summary>
    /// 删除枚举
    /// </summary>
    public enum DeleteStatus
    {
        /// <summary>
        /// 删除
        /// </summary>
        [Description("删除")]
        delete_true = 1,

        /// <summary>
        /// 未删除
        /// </summary>
        [Description("未删除")]
        delete_false = 0
    }


    /// <summary>
    /// 用户类型枚举
    /// </summary>
    public enum UserTypeStatus
    {
        /// <summary>
        /// 用户
        /// </summary>
        [Description("用户")]
        user = 1,

        /// <summary>
        /// 商户
        /// </summary>
        [Description("商户")]
        merchant = 2,

        /// <summary>
        /// 骑手
        /// </summary>
        [Description("骑手")]
        horseman = 3,

        /// <summary>
        /// 管理员
        /// </summary>
        [Description("管理员")]
        admin = 4
    }

    /// <summary>
    /// 用户性别
    /// </summary>
    public enum GenderStatus
    {
        /// <summary>
        /// 男
        /// </summary>
        man = 1,

        /// <summary>
        /// 女
        /// </summary>
        woman = 2,

        /// <summary>
        /// 保密
        /// </summary>
        no = 0
    }

    /// <summary>
    ///是否限购枚举
    /// </summary>
    public enum LimitPurchaseStatus
    {
        /// <summary>
        /// 限购
        /// </summary>
        [Description("限购")]
        limitpurchase_true = 1,

        /// <summary>
        /// 不限购
        /// </summary>
        [Description("不限购")]
        limitpurchase_false = 0
    }

    /// <summary>
    /// 上下架标示枚举
    /// </summary>
    public enum UALMarkStatus
    {
        /// <summary>
        /// 上架
        /// </summary>
        [Description("上架")]
        ualmark_true = 1,

        /// <summary>
        /// 下架
        /// </summary>
        [Description("下架")]
        ualmark_false = 0,
    }

    /// <summary>
    /// 活动类别枚举
    /// </summary>
    public enum ActivitiesStatus
    {
        /// <summary>
        /// 系统活动
        /// </summary>
        [Description("系统活动")]
        system = 1,

        /// <summary>
        /// 商户活动
        /// </summary>
        [Description("商户活动")]
        merchant = 2,
    }

    /// <summary>
    /// 是否营业枚举
    /// </summary>
    public enum JoinMarkStatus
    {
        /// <summary>
        /// 营业中
        /// </summary>
        [Description("营业中")]
        joinmark_true = 1,

        /// <summary>
        /// 未营业
        /// </summary>
        [Description("未营业")]
        joinmark_false = 0,
    }

    /// <summary>
    /// 结算状态枚举
    /// </summary>
    public enum SettlementStatu
    {
        /// <summary>
        /// 已提交
        /// </summary>
        [Description("已提交")]
        submitted = 1,

        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        success = 2,

        /// <summary>
        /// 失败
        /// </summary>
        [Description("失败")]
        fail = 3,

        /// <summary>
        /// 取消
        /// </summary>
        [Description("取消")]
        cancel = 4
    }

    /// <summary>
    /// 默认标识枚举
    /// </summary>
    public enum DefaultMarkStatus
    {
        /// <summary>
        /// 默认
        /// </summary>
        [Description("默认")]
        defaultmark_true = 1,

        /// <summary>
        /// 不默认
        /// </summary>
        [Description("不默认")]
        defaultmark_false = 0,
    }

    /// <summary>
    /// 订单状态枚举
    /// </summary>
    public enum OrderStatus
    {
        /// <summary>
        /// 待处理
        /// </summary>
        [Description("待处理")]
        pending = 0,

        /// <summary>
        /// 已接单
        /// </summary>
        [Description("已接单")]
        processed = 1,

        /// <summary>
        /// 配送中
        /// </summary>
        [Description("配送中")]
        shipping = 2,

        /// <summary>
        /// 已完成
        /// </summary>
        [Description("已完成")]
        finish = 3,

        /// <summary>
        /// 客户已取消
        /// </summary>
        [Description("客户已取消")]
        usercancel = 4,

        /// <summary>
        /// 商家已取消
        /// </summary>
        [Description("商家已取消")]
        merchantcancel = 5,

        /// <summary>
        /// 系统扫单取消
        /// </summary>
        [Description("系统已取消")]
        systemcancel = 6
    }

    /// <summary>
    /// 支付状态枚举
    /// </summary>
    public enum PayStateStatus
    {
        /// <summary>
        /// 未支付
        /// </summary>
        [Description("未支付")]
        unpaid = 0,

        /// <summary>
        /// 已支付
        /// </summary>
        [Description("已支付")]
        havepaid = 1
    }

    /// <summary>
    /// 产品大小中份枚举
    /// </summary>
    public enum ProductTypeStatus
    {
        /// <summary>
        /// 大
        /// </summary>
        big = 1,

        /// <summary>
        /// 中
        /// </summary>
        centre = 2,

        /// <summary>
        /// 小
        /// </summary>
        small = 3,

        /// <summary>
        /// 其它
        /// </summary>
        other = 4
    }
}